package org.szy.core.common.param;

import org.noear.solon.validation.annotation.NotBlank;
import org.noear.solon.validation.annotation.NotNull;

/**
 * 公共状态阐述
 *
 * @author 孙志阳
 * @date 2023-02-14
 * @since 1.0.0
 **/
public class CommonStatusParam {

    /**
     * 主键
     */
    @NotBlank(message = "id不能为空")
    private String id;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空")
    private Integer status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
